package com.zzh.zzhaiagent.utils;

/**
 * @author 张 志 豪
 * @version 1.0
 * 判断邮箱是否正确
 */
public class EmailRightUtils {
    /**
     * email前提不为空
     * @param email
     * @return
     */
    public static boolean isRightEmail(String email){
        if (!email.contains("@qq.com")){
            return false;
        }
        if (email.length() != 17){
            return false;
        }
        return true;
    }
}
